<include file="public:top" />
<!--编辑菜单-->
<form class="layui-form layui-form-pane" action="" style="padding:20px;">
	<input type="hidden" name="id" value="{$info.id}" />
	<input type="hidden" name="img" id="J_img" value="{$info.img}">
   

  <div class="layui-form-item">
    <label class="layui-form-label">板块名称</label>
    <div class="layui-input-block">
      <input type="text" name="name" id="name" placeholder="请输入" class="layui-input" value="{$info.name}">
    </div>
  </div>
 

  <div class="layui-form-item">
    <label class="layui-form-label">排序值</label>
    <div class="layui-input-block">
      <input type="number" name="ordid" id="ordid" placeholder="请输入" class="layui-input" value="{$info.ordid}">
    </div>
  </div>

  <div class="layui-form-item" pane>
    <label class="layui-form-label">{:L('enabled')}</label>
    <div class="layui-input-block">
      <input type="radio" name="status" value="1" title="{:L('yes')}" <if condition="$info.status eq 1"> checked="checked"</if>>
      <input type="radio" name="status" value="0" title="{:L('no')}" <if condition="$info.status eq 0"> checked="checked"</if>>
    </div>
  </div>
    
  <div class="layui-form-item">
        <label class=""></label>
        <div class="layui-input-block">
        <button class="layui-btn" lay-submit="" lay-filter="content_edit">提交保存</button>
        </div>
    </div>
</form>



<script type="text/javascript" src="__PUBLIC__/admin/layui/layui.js"></script>
<script>
//Demo
layui.use(['layer','jquery','form','upload'], function () {
   // 操作对象
    var layer = layui.layer,$ = layui.jquery,form = layui.form, upload = layui.upload;
  
      Oper.initUpdate(layui, '板块', 'content_edit', 'forum_cate/edit');
});
</script>
</body>
</html>